package com.luguangtao.api;

import com.netflix.ribbon.proxy.annotation.Hystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "server001",fallback = HystrixTest.class)
@Hystrix
public interface HystrixApi {

    @RequestMapping("test001")
    public String test001();
}
